-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue-423 - Propagate errors in SitemapAndIndexStream
#424
Conversation
@derduher - We have a choice here. We can merge this to show the isolated test / fix OR we can merge a larger fix that addresses other issues with |
@huntharo I'm about to release a version that will be the last before a breaking change that drops support for node < 18. So if you have a preference now is the time to voice it :) |
SitemapAndIndexStream
8bf5a4f
to
6deb614
Compare
We should probably get these changes out before the node 12, 14, 16 drop. |
7d3815c
to
510925c
Compare
cbaa441
to
655b30b
Compare
@derduher You can proceed with dropping Node 12 support. The stream handling in Node 12 is pretty bad so one of the tests fails with Node 12 and can't be made to work. |
That will be a breaking change still. I suppose we could do two version
bumps
…On Tue, May 21, 2024 at 7:40 PM Harold Hunt ***@***.***> wrote:
@derduher <https://github.com/derduher> You can proceed with dropping
Node 12 support. The stream handling in Node 12 is pretty bad so one of the
tests fails with Node 12 and can't be made to work.
—
Reply to this email directly, view it on GitHub
<#424 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHW3FEHWUSHQLYJW5TTCVDZDQASXAVCNFSM6AAAAABIAWYA6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTG43DIMJVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm still reviewing this but in running |
@huntharo thank you! Also be sure to see my comment above about the improved memory performance. |
Hmm... I'm running that test but I'm not seeing a change in memory usage? Yeah I don't think this PR changes anything that could impact that test? |
yeah I think you are right. After merging the improvement in memory is gone. 🤷 |
npm run test:perf -- 3 3 stream true
> [email protected] test:perf
> node ./tests/perf.js 3 3 stream true
npm run test:perf -- [number of runs = 10] [batch size = 10] [stream(default)|combined] [measure peak memory = false]
runs: 3 batches: 3 total: 9
testing stream
========= stream =============
median: 0.0±0.0mb
99th percentile: 0.0mb Now I'm getting the improvement, for the first time that I have observed. We should try to figure out what is going on here. Key point: the imports in |
Added #436 - The change is due to Node v18 -> v20... not due to any code change. Not sure yet if it is a change in memory reporting or a change in memory use. |
Fixes #423